﻿using System;
using System.Collections.Generic;

using System.Text;

namespace WeFeTeLib
{
    /// <summary>
    /// Args for the File event
    /// </summary>
    class FileEventArgs : EventArgs
    {
        int conditions;
        File file;

        /// <summary>
        /// Constructor of the FileEventArgs
        /// </summary>
        /// <param name="File">The File object that was tested.</param>
        /// <param name="Conditions">The number of conditions that the file matched.</param>
        public FileEventArgs(File File, int Conditions)
        {
            file = File;
            conditions = Conditions;
        }

        /// <summary>
        /// The File object
        /// </summary>
        public File File
        {
            get { return file; }
        }

        /// <summary>
        /// The number of conditions that the file matched.
        /// </summary>
        public int Conditions
        {
            get { return conditions; }
        }
    }
}
